Automattic\WooCommerce\Blocks\BlockTypesController S

Total Complexity 26
Dependencies 4
Dependents 1
Total lines 217
Lines of code 123
Logical lines of code 47
Comment lines 69
Methods 7
Properties 2

Methods 7

Method Rating Maintainability Complexity Lines of code
get_block_types()
A
39 11 68
add_data_attributes()
A
49 8 27
register_blocks()
S
67 2 7
redirect_to_field()
S
69 2 6
__construct()
S
74 1 5
init()
S
69 1 6
hide_legacy_widgets_with_block_equivalent()
S
75 1 4